// enum 枚举类型
enum Status {
  Massage = 1, spa, DaBjian
}

function getServe(status: any){
  if(status === Status.Massage){
    return 'Massage'
  }else if(status === Status.spa){
    return 'spa'
  }else if(status === Status.DaBjian){
    return 'DaBjian'
  }
}

const result = getServe(1)
console.log(`我要${result}`)
console.log(Status.Massage, Status[1])